package Runnian;

public class T5 {
	
	public static void main(String[] args) {
		
		int array[]={45,7,23,54,9,40};
		
		int i=0,t=0;
		
		double aver;
		
		for(i=0;i<6;i++)
			
		t+=array[i];
		
		aver=t/6;
		
		for(i=0;i<6;i++){
			
			if(array[i]>aver)
		   
			System.out.printf("%d\n",array[i]);
		
		}
	}

}
